package com.five.community.service;

import com.five.community.bean.Admin;

import java.util.List;
import java.util.Map;

public interface AdminService {

    List<Map<String, Object>> selectAllAdminAndRoles() throws Exception;

    void insert(Admin admin)  throws Exception;

    Admin login(String username, String password) throws Exception;
}
